package io.renren.modules.simida.dao;

import com.alibaba.fastjson.JSONObject;
import io.renren.modules.simida.entity.UserInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户信息表
 * 
 * @author miaoguoxin
 * @email ${email}
 * @date 2019-11-17 09:57:32
 */
@Mapper
public interface UserInfoDao extends BaseMapper<UserInfoEntity> {
     /**
     * @Description: 用户性别分组统计
     * @Param:
     * @return:
     * @Author: miaoguoxin
     * @Date: 2019/11/21
     */
	 List<JSONObject> queryCountGender();
	 /**
	 * @Description: 统计时间段每日注册人数
	 * @Param:
	 * @return:
	 * @Author: miaoguoxin
	 * @Date: 2019/11/21
	 */
     List<JSONObject> queryCountRegInfoGroupDay(@Param("startTime") String startTime,@Param("endTime") String endTime,@Param("pattern") String pattern);
}
